package com.infitecs.eyas.quality.service;

import com.infitecs.eyas.quality.model.Ash;

/**
 * Created with IntelliJ IDEA.
 * User: chenkaiyu
 * Date: 15-4-25
 * Time: 上午7:01
 * To change this template use File | Settings | File Templates.
 */
public interface AshService {
    Double calculateE48(int caseId);
    Double calculateTotal(int caseId);
    Double calculateE57(int caseId);
    Double calculateRz(int caseId);

    void saveTheValueOfSiO2(double sio2,int caseId);
    void saveTheValueOfAl2O3(double al2o3,int caseId);
    void saveTheValueOfFe2O3(double fe2o3,int caseId);
    void saveTheValueOfCaO(double cao,int caseId);
    void saveTheValueOfTiO2(double tio2,int caseId);
    void saveTheValueOfMgO(double mgo,int caseId);
    void saveTheValueOfSO3(double so3,int caseId);
    void saveTheValueOfK2O(double k2o,int caseId);
    void saveTheValueOfNa2O(double na2o,int caseId);
    void saveTheValueOfOther(double other,int caseId);
    void saveTheValueOfDT(double dt,int caseId);
    void saveTheValueOfST(double st,int caseId);
    void saveTheValueOfHT(double ht,int caseId);
    void saveTheValueOfFT(double ft,int caseId);

    Ash getAsh(int caseId);

    void ashSave(Ash ash);

    void ashSaveData(Ash ash);
}
